if __name__ == '__main__':
    with open('out/hdp_output.txt', 'r') as file:
        cnt = 0
        cnt10 = 0
        for line in file:
            if int(line) == 0:
                cnt += 1
            elif int(line) == 10:
                cnt10 += 1
        print('Accuracy: {:.2%}'.format(cnt / 10000))
        print(cnt10)
        print(cnt + 0.1 * cnt10)
